/*    */ package cn.zzuisa.news.service.impl;
/*    */ 
/*    */ import cn.zzuisa.news.entity.IprNewsInfo;
/*    */ import cn.zzuisa.news.entity.IprNewsType;
/*    */ import cn.zzuisa.news.form.IprNewsInfoForm;
/*    */ import cn.zzuisa.news.repository.IprNewsRepository;
/*    */ import cn.zzuisa.news.repository.dao.IprNewsDAO;
/*    */ import cn.zzuisa.news.service.IprNewsService;
/*    */ import java.util.List;
/*    */ 
/*    */ public class IprNewsServiceImpl
/*    */   implements IprNewsService
/*    */ {
/* 14 */   private IprNewsRepository iprNewsDAO = new IprNewsDAO();
/*    */ 
/*    */ 
/*    */   
/* 18 */   public boolean addType(String name) { return this.iprNewsDAO.addType(name); }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 24 */   public boolean addNewsInfo(IprNewsInfoForm iprNewsInfoForm) { return this.iprNewsDAO.addNewsInfo(iprNewsInfoForm); }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 30 */   public List<IprNewsType> listtype() { return this.iprNewsDAO.listtype(); }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 36 */   public IprNewsType findIprNewsTypeById(Integer id) { return this.iprNewsDAO.findIprNewsTypeById(id); }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 42 */   public List<IprNewsInfo> listinfoByType(Integer type) { return this.iprNewsDAO.listinfoByType(type); }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 48 */   public IprNewsInfo findInfoById(Integer id) { return this.iprNewsDAO.findInfoById(id); }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 54 */   public boolean editByFormAndId(IprNewsInfoForm iprNewsInfoForm, Integer id) { return this.iprNewsDAO.editById(iprNewsInfoForm, id); }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 60 */   public boolean delete(Integer id) { return this.iprNewsDAO.delete(id); }
/*    */ }


/* Location:              /Users/frank/Desktop/admin/WEB-INF/classes/!/cn/zzuisa/news/service/impl/IprNewsServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */